import { v4 as uuidv4 } from 'uuid'

export function getUserTempId() {

  let userTempId = localStorage.getItem('USERTEMPID')

  if(!userTempId) {
    userTempId = uuidv4();

    localStorage.setItem('USERTEMPID',userTempId)
  }

  return userTempId
}